package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PersonExperience;
import com.zhijian.medical.entity.vo.request.PersonExperienceSearchVo;
import com.zhijian.medical.entity.vo.response.PersonExperienceVo;

import java.util.List;

public interface PersonExperienceMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据人员id进行删除
     *
     * @param personId
     */
    void deleteByPersonId(Long personId);

    int insert(PersonExperience record);

    int insertSelective(PersonExperience record);

    PersonExperience selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PersonExperience record);

    int updateByPrimaryKey(PersonExperience record);

    int count(PersonExperienceSearchVo personExperienceSearchVo);

    List<PersonExperienceVo> selectList(PersonExperienceSearchVo personExperienceSearchVo);

    PersonExperienceVo selectVoById(Long id);
}